package org.twdata.pipeline;

import java.io.Reader;

/**  Defines a class that generates XML events */
public interface Generator extends XMLProducer, Stage {

  /**
   *  Generates XML events and publishes them to the next XMLConsumer
   *
   *@exception  PipelineException  If anything goes wrong
   */
  public void generate() throws PipelineException;

}

